package com.ygjy.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TwUser entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "TW_USER", schema = "JGJY")
public class TwUser implements java.io.Serializable {

	// Fields
	private static final long serialVersionUID = 2624537183750075747L;
	private String pkUser;
	private String code;
	private String account;
	private String password;
	private Integer userType;
	private String name;
	private String name1;
	private String email;
	private String nickname;
	private Double accountAmount;
	private String tel;
	private String mobile;
	private Integer sex;
	private String province;
	private String city;
	private Integer ifVerif;
	private Integer score;
	private String ip;
	private String registerDate;
	private String lastLoginTime;
	private String addTime;
	private Integer dr;
	private String ts;
	private String def1;
	private String def2;
	private String def3;
	private String def4;
	private String def5;
	private String def6;
	private String def7;
	private String def8;
	private String def9;
	private String def10;

	// Constructors

	/** default constructor */
	public TwUser() {
	}

	/** minimal constructor */
	public TwUser(String pkUser, String account, String password) {
		this.pkUser = pkUser;
		this.account = account;
		this.password = password;
	}

	/** full constructor */
	public TwUser(String pkUser, String code, String account, String password,
			Integer userType, String name, String name1, String email,
			String nickname, Double accountAmount, String tel, String mobile,
			Integer sex, String province, String city, Integer ifVerif,
			Integer score, String ip, String registerDate,
			String lastLoginTime, String addTime, Integer dr, String ts,
			String def1, String def2, String def3, String def4, String def5,
			String def6, String def7, String def8, String def9, String def10) {
		this.pkUser = pkUser;
		this.code = code;
		this.account = account;
		this.password = password;
		this.userType = userType;
		this.name = name;
		this.name1 = name1;
		this.email = email;
		this.nickname = nickname;
		this.accountAmount = accountAmount;
		this.tel = tel;
		this.mobile = mobile;
		this.sex = sex;
		this.province = province;
		this.city = city;
		this.ifVerif = ifVerif;
		this.score = score;
		this.ip = ip;
		this.registerDate = registerDate;
		this.lastLoginTime = lastLoginTime;
		this.addTime = addTime;
		this.dr = dr;
		this.ts = ts;
		this.def1 = def1;
		this.def2 = def2;
		this.def3 = def3;
		this.def4 = def4;
		this.def5 = def5;
		this.def6 = def6;
		this.def7 = def7;
		this.def8 = def8;
		this.def9 = def9;
		this.def10 = def10;
	}

	// Property accessors
	@Id
	@Column(name = "PK_USER", unique = true, nullable = false, length = 20)
	public String getPkUser() {
		return this.pkUser;
	}

	public void setPkUser(String pkUser) {
		this.pkUser = pkUser;
	}

	@Column(name = "CODE", length = 50)
	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "ACCOUNT", nullable = false, length = 50)
	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	@Column(name = "PASSWORD", nullable = false, length = 50)
	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	@Column(name = "USER_TYPE", precision = 22, scale = 0)
	public Integer getUserType() {
		return this.userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}

	@Column(name = "NAME", length = 50)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "NAME1", length = 50)
	public String getName1() {
		return this.name1;
	}

	public void setName1(String name1) {
		this.name1 = name1;
	}

	@Column(name = "EMAIL", length = 200)
	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Column(name = "NICKNAME", length = 50)
	public String getNickname() {
		return this.nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	@Column(name = "ACCOUNT_AMOUNT", precision = 20)
	public Double getAccountAmount() {
		return this.accountAmount;
	}

	public void setAccountAmount(Double accountAmount) {
		this.accountAmount = accountAmount;
	}

	@Column(name = "TEL", length = 50)
	public String getTel() {
		return this.tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	@Column(name = "MOBILE", length = 50)
	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	@Column(name = "SEX", precision = 22, scale = 0)
	public Integer getSex() {
		return this.sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	@Column(name = "PROVINCE", length = 50)
	public String getProvince() {
		return this.province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	@Column(name = "CITY", length = 50)
	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@Column(name = "IF_VERIF", precision = 22, scale = 0)
	public Integer getIfVerif() {
		return this.ifVerif;
	}

	public void setIfVerif(Integer ifVerif) {
		this.ifVerif = ifVerif;
	}

	@Column(name = "SCORE", precision = 22, scale = 0)
	public Integer getScore() {
		return this.score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	@Column(name = "IP", length = 50)
	public String getIp() {
		return this.ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	@Column(name = "REGISTER_DATE", length = 10)
	public String getRegisterDate() {
		return this.registerDate;
	}

	public void setRegisterDate(String registerDate) {
		this.registerDate = registerDate;
	}

	@Column(name = "LAST_LOGIN_TIME", length = 19)
	public String getLastLoginTime() {
		return this.lastLoginTime;
	}

	public void setLastLoginTime(String lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	@Column(name = "ADD_TIME", length = 19)
	public String getAddTime() {
		return this.addTime;
	}

	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}

	@Column(name = "DR", precision = 22, scale = 0)
	public Integer getDr() {
		return this.dr;
	}

	public void setDr(Integer dr) {
		this.dr = dr;
	}

	@Column(name = "TS", length = 19)
	public String getTs() {
		return this.ts;
	}

	public void setTs(String ts) {
		this.ts = ts;
	}

	@Column(name = "DEF1", length = 200)
	public String getDef1() {
		return this.def1;
	}

	public void setDef1(String def1) {
		this.def1 = def1;
	}

	@Column(name = "DEF2", length = 200)
	public String getDef2() {
		return this.def2;
	}

	public void setDef2(String def2) {
		this.def2 = def2;
	}

	@Column(name = "DEF3", length = 200)
	public String getDef3() {
		return this.def3;
	}

	public void setDef3(String def3) {
		this.def3 = def3;
	}

	@Column(name = "DEF4", length = 200)
	public String getDef4() {
		return this.def4;
	}

	public void setDef4(String def4) {
		this.def4 = def4;
	}

	@Column(name = "DEF5", length = 200)
	public String getDef5() {
		return this.def5;
	}

	public void setDef5(String def5) {
		this.def5 = def5;
	}

	@Column(name = "DEF6", length = 200)
	public String getDef6() {
		return this.def6;
	}

	public void setDef6(String def6) {
		this.def6 = def6;
	}

	@Column(name = "DEF7", length = 200)
	public String getDef7() {
		return this.def7;
	}

	public void setDef7(String def7) {
		this.def7 = def7;
	}

	@Column(name = "DEF8", length = 200)
	public String getDef8() {
		return this.def8;
	}

	public void setDef8(String def8) {
		this.def8 = def8;
	}

	@Column(name = "DEF9", length = 200)
	public String getDef9() {
		return this.def9;
	}

	public void setDef9(String def9) {
		this.def9 = def9;
	}

	@Column(name = "DEF10", length = 200)
	public String getDef10() {
		return this.def10;
	}

	public void setDef10(String def10) {
		this.def10 = def10;
	}

}